﻿''' <summary>
''' 向MES请求Kitting 物料 或 发送过站请求
''' </summary>
''' <remarks></remarks>
Public Class MES_KittingBOM_Request
    Public datain As String
    Public pick_list As String '请求："TYPE:BEZEL,MB,KB", 过站：KPN:AL1AC000100;TYPE:BEZEL;KPS:8S4511B90110BABCDEABCDE1;MAC:F875A44BA7DD;FRU:F875A44BA7DD;|...
    Public line_name As String
    Public group_name As String
    Public result As String
    Public Sub New()
        Me.datain = ""
        Me.pick_list = ""
        Me.line_name = ""
        Me.group_name = ""
        Me.result = ""
    End Sub
End Class

''' <summary>
''' MES返回的Kitting 物料
''' </summary>
''' <remarks></remarks>
Public Class MES_KittingBom_Response
    Public status As Boolean
    Public data As KittingBomData
    Public message As String
    Public Sub New()
        Me.status = False
        Me.data = New KittingBomData
        Me.message = ""
    End Sub

End Class
Public Class KittingBomData
    Public obj As Object
    Public objs() As kittingBomInfo
End Class
Public Class kittingBomInfo
    Public cust_part_no As String
    Public key_part_no As String
    Public kp_relation As String
    Public part_mode As String
    Public qty As String
    Public spec1 As String
    Public type As String
    Public Sub New()
        Me.cust_part_no = ""
        Me.key_part_no = ""
        Me.kp_relation = ""
        Me.part_mode = ""
        Me.qty = ""
        Me.spec1 = ""
        Me.type = ""
    End Sub
End Class